﻿Public Class InDirectDB

	Public Shared Function ExcuteNonQury(ByVal sql As String) As String

		Using db As New SS.Databases.Connecter.DBOracle(Common.Utility.ConnectString, False, SS.Databases.Connecter.DBOracle.ModeConnection.OracleClient)
			Return db.ExecuteNonQuery(sql)
		End Using

	End Function

	Public Shared Function GetDataTables(ByVal sql As String) As DataTable

		Using db As New SS.Databases.Connecter.DBOracle(Common.Utility.ConnectString, False, SS.Databases.Connecter.DBOracle.ModeConnection.OracleClient)
			Return db.GetDataTable(sql, "tbl1")
		End Using

	End Function

End Class
